ActivityNodeReader.Prerequisites Property

Return the prerequisites for this activity. That is, the conditions that must be met in order for this activity to be activated. Returns null if there are no prerequisites.

Parent Type: ActivityNodeReader

Namespace: Microsoft.LearningComponents.Manifest

Assembly: Microsoft.LearningComponents.dll

Syntax
C#

public string Prerequisites

{ get; }
Exceptions
Exception type Condition
InvalidPackageException

The parsing mode is ManifestReaderSettings.FixScormRequirementViolations=false and the prerequisites script is syntactically invalid.

Remarks

This is only valid for SCORM 1.2 content and will be null in other cases. For SCORM 2004 content, use the Sequencing information.

This corresponds to the <adlcp:prerequisites> element.